/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.rest.app.shop.param.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * @author zhangcm
 * @version 1.0, 2017/9/16
 */
@ApiModel(description = "营销规则保存参数")
public class AppMarketingRuleSaveParam {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "营销类型", required = true)
    private Integer marketingType;
    @ApiModelProperty(value = "达标金额", required = true)
    private BigDecimal amountLine;
    @ApiModelProperty(value = "积分")
    private Integer point;
    @ApiModelProperty(value = "折扣")
    private BigDecimal discount;
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getMarketingType() {
        return marketingType;
    }

    public void setMarketingType(Integer marketingType) {
        this.marketingType = marketingType;
    }

    public BigDecimal getAmountLine() {
        return amountLine;
    }

    public void setAmountLine(BigDecimal amountLine) {
        this.amountLine = amountLine;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
}
